package com.java.tutorials.jdk7.fileoperation;
import com.java.tutorials.Constants;

import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
 * Created by xuzhike on 2016/1/25.
 * http://www.java2s.com/Code/Java/JDK-7/CreateDirectorieswithFilesclass.htm
 * Create Directories with Files class
 */
public class CreateDirectorieswithFilesclass {
    public static void main(String[] args) throws Exception {
        Path directoriesPath = Paths.get(Constants.TEST_PATH+"another");
        Path testDirectory = Files.createDirectories(directoriesPath);
        System.out.println("Directory sequence created successfully!");

    }
}
